#ifndef PLUGININTERFACE_H
#define PLUGININTERFACE_H

#include <QWidget>

#define PluginInterfaceIID "com.szweebon.PluginInterface/1.0.0"


class PluginInterface{
public:
    virtual ~PluginInterface() = default;
    virtual QWidget *getWidget() = 0;
};

Q_DECLARE_INTERFACE(PluginInterface,PluginInterfaceIID)//此宏必须定义，否则外部程序会报错。

#endif // PLUGININTERFACE_H


